﻿<%@ Page Title="" Language="C#" MasterPageFile="~/WebServisArayuz.Master" AutoEventWireup="true" CodeBehind="SFUlkeIslemleri.aspx.cs" Inherits="TakbisBilgiSorgu_v1.SFUlkeIslemleri" EnableEventValidation="false" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder2" runat="server">
 <div class="sayfa_adi">İdari İşlmler / Ülke İşlemleri</div>
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
<form id="form1" runat="server">
<div id="divUlkeSorguKriter" runat="server" class="DivTasinmazIslemleriBloklar">
    <div class="DivTasinmazBlokIsim">Sorgu Tipleri</div>
    <div style="clear:both"></div>
    <div class="tasinmazButon"><asp:Button ID="btnTumUlkeleriGetir" class="butons getirico" runat="server" 
            Text="Tüm Ülkeleri Getir" onclick="btnTumUlkeleriGetir_Click" Style=" width:230px"/></div>
    <div class="tasinmazButon"><asp:Button ID="btnIDdenUlkeGetir" class="butons getirico" runat="server" 
            Text="ID Bilgisi İle Ülke Getir" onclick="btnIDdenUlkeGetir_Click" Style=" width:230px" /></div>
    <div style="clear:both"></div>
</div>
<div id="divGetirUlkeBilgiIDDen" runat="server" class="DivTasinmazIslemleriBloklar">
     <div class="DivTasinmazBlokIsim">ID Bilgisi İle Ülke Getir</div>
   <div class="srgtipgitsol"><table>
	<tr>
        <td><asp:Label ID="lblUlkeID" runat="server" Text="Ülke ID"></asp:Label></td>
	    <td>:</td>
        <td><asp:TextBox ID="txtUlkeID" runat="server" class="textboxs"></asp:TextBox></td>
        <td><asp:Button ID="btnGetirUlkeBilgiIDDen" runat="server" class="butons sorguico" 
        Text="Sorgula" onclick="btnGetirUlkeBilgiIDDen_Click" /></td>
	</tr>
</table></div>

    <div class="srgtipgit"><asp:Button ID="lnkSorguTiplerineGit" class="butons gerico" runat="server" 
            Text="Sorgu Tiplerine Git" onclick="lnkSorguTiplerineGit_Click"/></div><div style="clear:both"></div>
</div>
<div id="divgvUlke" runat="server" class="DivTasinmazIslemleriBloklar">
<div class="DivBlokIsim">Ülkeler</div> <div class="DivExcell"><asp:Button ID="btnUlkeExceleYaz" runat="server" class="butons excelli" OnClick="btnUlkeExceleYaz_Click" TabIndex="9" Text="Excele Yaz"/></div>
<div class="DivGrid">
      <asp:GridView ID="gvUlke" CssClass="grids"   runat="server" AllowPaging="True"
                        AutoGenerateColumns="False" 
            OnPageIndexChanging="gvUlke_PageIndexChanging" OnRowCreated="gvUlke_RowCreated" 
            onrowdatabound="gvUlke_RowDataBound" DataKeyNames="UlkeBilgiID"
            onselectedindexchanged="gvUlke_SelectedIndexChanged">
                        <Columns>
                            <asp:TemplateField HeaderText="Ülke ID">
                                <ItemTemplate>
                                    <asp:Label ID="UlkeBilgiID" runat="server" Text='<%# Eval("UlkeBilgiID") %>'>
                                    </asp:Label>
                                </ItemTemplate>
                            </asp:TemplateField>
                            <asp:TemplateField HeaderText="Adı">
                                <ItemTemplate>
                                    <asp:Label ID="Ad" runat="server" Text='<%# Eval("Ad") %>'>
                                    </asp:Label>
                                </ItemTemplate>
                            </asp:TemplateField>
                            <asp:TemplateField HeaderText="Resmi Adı">
                                <ItemTemplate>
                                    <asp:Label ID="ResmiAd" runat="server" Text='<%# Eval("ResmiAd") %>'>
                                    </asp:Label>
                                </ItemTemplate>
                            </asp:TemplateField>
                        </Columns>
                                <HeaderStyle CssClass="gridsHeader" />
            <PagerStyle CssClass="gridsPager" />
            <RowStyle CssClass="gridsTextColor" />
            <SelectedRowStyle CssClass="selectedRows" />
                    </asp:GridView>
  </div>
    <div style="clear:both"></div>
    <div class="srgtipgitsol">
        <asp:Button ID="btnTasinmazGetir" runat="server" class="butons getirico"
            OnClick="btnTasinmazGetir_Click" TabIndex="2" Text="Tasınmaz Getir" /><br />
        <asp:RadioButton ID="rbTasinmazAktif" runat="server" AutoPostBack="True" ForeColor="White"
            OnCheckedChanged="rbTasinmazAktif_CheckedChanged" Text="Aktif" Checked="True" />
        <asp:RadioButton ID="rbTasinmazPasif" runat="server" AutoPostBack="True" ForeColor="White"
            OnCheckedChanged="rbTasinmazPasif_CheckedChanged" Text="Pasif" />
        <asp:RadioButton ID="rbTasinmazHepsi" runat="server" AutoPostBack="True" ForeColor="White"
            OnCheckedChanged="rbTasinmazHepsi_CheckedChanged" Text="Hepsi" />
    </div>
    <div class="srgtipgit">
   <asp:Button ID="lnkSorguTiplerineGit1" class="butons gerico" runat="server" Text="Sorgu Tiplerine Git" onclick="lnkSorguTiplerineGit1_Click"/>
</div>
<div style="clear:both"></div>
</div>
<div id="divgvTasinmaz" runat="server" class="DivTasinmazIslemleriBloklar">
  <div class="DivBlokIsim">Taşınmazlar</div> <div class="DivExcell"><asp:Button ID="btnTasinmazExceleYaz" runat="server" class="butons excelli" OnClick="btnTasinmazExceleYaz_Click"
        TabIndex="9" Text="Excele Yaz" /></div>
  <div class="DivGrid">
      <asp:GridView ID="gvTasinmaz" CssClass="grids" runat="server" AllowPaging="True"
        CellPadding="3" DataKeyNames="TasinmazID" OnPageIndexChanging="gvTasinmaz_PageIndexChanging"
        OnRowCreated="gvTasinmaz_RowCreated"
        AutoGenerateColumns="False" OnRowDataBound="gvTasinmaz_RowDataBound">
        <Columns>
            <asp:CommandField HeaderText=" Seçim " ShowSelectButton="True" SelectText="Seç "
                Visible="False" />
            <asp:TemplateField HeaderText="İl" ItemStyle-Width="150px">
                <ItemTemplate>
                    <asp:Label ID="IlAd" runat="server" Text='<%# Eval("Il.Ad") %>'>
                    </asp:Label>
                </ItemTemplate>
                <ItemStyle Width="150px" />
            </asp:TemplateField>
            <asp:TemplateField HeaderText="İlçe">
                <ItemTemplate>
                    <asp:Label ID="IlceAd" runat="server" Text='<%# Eval("Ilce.Ad") %>'>
                    </asp:Label>
                </ItemTemplate>
            </asp:TemplateField>
            <asp:TemplateField HeaderText="Kurum">
                <ItemTemplate>
                    <asp:Label ID="KurumAd" runat="server" Text='<%# Eval("Kurum.Ad") %>'>
                    </asp:Label>
                </ItemTemplate>
            </asp:TemplateField>
            <asp:TemplateField HeaderText="Mahalle">
                <ItemTemplate>
                    <asp:Label ID="MahalleAd" runat="server" Text='<%# Eval("Mahalle.Ad") %>'>
                    </asp:Label>
                </ItemTemplate>
            </asp:TemplateField>
            <asp:BoundField DataField="Pafta" HeaderText="Pafta" ItemStyle-Width="150px">
                <ItemStyle Width="150px" />
            </asp:BoundField>
            <asp:BoundField DataField="Ada" HeaderText="Ada" ItemStyle-Width="150px">
                <ItemStyle Width="150px" />
            </asp:BoundField>
            <asp:BoundField DataField="Parsel" HeaderText="Parsel" ItemStyle-Width="150px">
                <ItemStyle Width="150px" />
            </asp:BoundField>
            <asp:BoundField DataField="TasinmazTip" HeaderText="Taşınmaz Tip" ItemStyle-Width="150px">
                <ItemStyle Width="150px" />
            </asp:BoundField>
            <asp:BoundField DataField="TapuBolumDurum" HeaderText="Aktif Mi" ItemStyle-Width="150px">
                <ItemStyle Width="150px" />
            </asp:BoundField>
            <asp:BoundField DataField="TasinmazID" HeaderText="TaşınmazID" ItemStyle-Width="150px"
                Visible="False">
                <ItemStyle Width="150px" />
            </asp:BoundField>
            <asp:BoundField DataField="Cilt" HeaderText="Cilt" ItemStyle-Width="150px">
                <ItemStyle Width="150px" />
            </asp:BoundField>
            <asp:BoundField DataField="Sayfa" HeaderText="Sayfa" ItemStyle-Width="150px">
                <ItemStyle Width="150px" />
            </asp:BoundField>
            <asp:BoundField DataField="ParselTip" HeaderText="Parsel Tip" ItemStyle-Width="150px">
                <ItemStyle Width="150px" />
            </asp:BoundField>
            <asp:BoundField DataField="ParselID" HeaderText="ParselID" ItemStyle-Width="150px"
                Visible="False">
                <ItemStyle Width="150px" />
            </asp:BoundField>
            <asp:BoundField DataField="Mevkii" HeaderText="Mevkii" ItemStyle-Width="150px" Visible="False">
                <ItemStyle Width="150px" />
            </asp:BoundField>
            <asp:TemplateField HeaderText="Tesis İşlemID" Visible="False">
                <ItemTemplate>
                    <asp:Label ID="TesisIslemIslemBilgiID" runat="server" Text='<%# Eval("TesisIslem.IslemBilgiID") %>'>
                    </asp:Label>
                </ItemTemplate>
            </asp:TemplateField>
            <asp:TemplateField HeaderText="Tesis İşlem Tanım Adı" Visible="False">
                <ItemTemplate>
                    <asp:Label ID="TesisIslemIslemTanimAd" runat="server" Text='<%# Eval("TesisIslem.IslemTanimAd") %>'>
                    </asp:Label>
                </ItemTemplate>
            </asp:TemplateField>
            <asp:TemplateField HeaderText="Tesis İşlem Başlama Şekli Adı" Visible="False">
                <ItemTemplate>
                    <asp:Label ID="TesisIslemBaslamaSekilAd" runat="server" Text='<%# Eval("TesisIslem.BaslamaSekilAd") %>'>
                    </asp:Label>
                </ItemTemplate>
            </asp:TemplateField>
            <asp:TemplateField HeaderText="Tesis İşlem YevmiyeID" Visible="False">
                <ItemTemplate>
                    <asp:Label ID="TesisIslemYevmiyeYevmiyeBilgiID" runat="server" Text='<%# Eval("TesisIslem.Yevmiye.YevmiyeBilgiID") %>'>
                    </asp:Label>
                </ItemTemplate>
            </asp:TemplateField>
            <asp:TemplateField HeaderText="Tesis İşlem Yevmiye No" Visible="False">
                <ItemTemplate>
                    <asp:Label ID="TesisIslemYevmiyeYevmiyeNo" runat="server" Text='<%# Eval("TesisIslem.Yevmiye.YevmiyeNo") %>'>
                    </asp:Label>
                </ItemTemplate>
            </asp:TemplateField>
            <asp:TemplateField HeaderText="Tesis İşlem Yevmiye Tarih" Visible="False">
                <ItemTemplate>
                    <asp:Label ID="TesisIslemYevmiyeTarih" runat="server" Text='<%# Eval("TesisIslem.Yevmiye.Tarih","{0:dd/MM/yyyy}") %>'>
                    </asp:Label>
                </ItemTemplate>
            </asp:TemplateField>
            <asp:TemplateField HeaderText="Tesis İşlem Yevmiye Kurum" Visible="False">
                <ItemTemplate>
                    <asp:Label ID="TesisIslemYevmiyeKurum" runat="server" Text='<%# Eval("TesisIslem.Yevmiye.Kurum") %>'>
                    </asp:Label>
                </ItemTemplate>
            </asp:TemplateField>
            <asp:TemplateField HeaderText="Terkin İşlemID" Visible="False">
                <ItemTemplate>
                    <asp:Label ID="TerkinIslemIslemBilgiID" runat="server" Text='<%# Eval("TerkinIslem.IslemBilgiID") %>'>
                    </asp:Label>
                </ItemTemplate>
            </asp:TemplateField>
            <asp:TemplateField HeaderText="Terkin İşlem Tanım Adı" Visible="False">
                <ItemTemplate>
                    <asp:Label ID="TerkinIslemIslemTanimAd" runat="server" Text='<%# Eval("TerkinIslem.IslemTanimAd") %>'>
                    </asp:Label>
                </ItemTemplate>
            </asp:TemplateField>
            <asp:TemplateField HeaderText="Terkin İşlem Başlama Şekli Adı" Visible="False">
                <ItemTemplate>
                    <asp:Label ID="TerkinIslemBaslamaSekilAd" runat="server" Text='<%# Eval("TerkinIslem.BaslamaSekilAd") %>'>
                    </asp:Label>
                </ItemTemplate>
            </asp:TemplateField>
            <asp:TemplateField HeaderText="Terkin İşlem YevmiyeID" Visible="False">
                <ItemTemplate>
                    <asp:Label ID="TerkinIslemYevmiyeYevmiyeBilgiID" runat="server" Text='<%# Eval("TerkinIslem.Yevmiye.YevmiyeBilgiID") %>'>
                    </asp:Label>
                </ItemTemplate>
            </asp:TemplateField>
            <asp:TemplateField HeaderText="Terkin İşlem Yevmiye No" Visible="False">
                <ItemTemplate>
                    <asp:Label ID="TerkinIslemYevmiyeYevmiyeNo" runat="server" Text='<%# Eval("TerkinIslem.Yevmiye.YevmiyeNo") %>'>
                    </asp:Label>
                </ItemTemplate>
            </asp:TemplateField>
            <asp:TemplateField HeaderText="Terkin İşlem Yevmiye Tarih" Visible="False">
                <ItemTemplate>
                    <asp:Label ID="TerkinIslemYevmiyeTarih" runat="server" Text='<%# Eval("TerkinIslem.Yevmiye.Tarih","{0:dd/MM/yyyy}") %>'>
                    </asp:Label>
                </ItemTemplate>
            </asp:TemplateField>
            <asp:TemplateField HeaderText="Terkin İşlem Yevmiye Kurum" Visible="False">
                <ItemTemplate>
                    <asp:Label ID="TerkinIslemYevmiyeKurum" runat="server" Text='<%# Eval("TerkinIslem.Yevmiye.Kurum") %>'>
                    </asp:Label>
                </ItemTemplate>
            </asp:TemplateField>
            <asp:BoundField DataField="AltTasinmazID" HeaderText="Alt TaşınmazID" ItemStyle-Width="150px"
                Visible="False">
                <ItemStyle Width="150px" />
            </asp:BoundField>
            <asp:BoundField DataField="AltTasinmazTip" HeaderText="Alt Taşınmaz Tip" ItemStyle-Width="150px"
                Visible="False">
                <ItemStyle Width="150px" />
            </asp:BoundField>
            <asp:BoundField DataField="AltTasinmazTapuBolumDurum" HeaderText="Alt Taşınmaz Bölüm Durumu"
                ItemStyle-Width="150px" Visible="False">
                <ItemStyle Width="150px" />
            </asp:BoundField>
        </Columns>
        <FooterStyle CssClass="gridsFooter" />
        <HeaderStyle CssClass="gridsHeader" />
        <PagerStyle CssClass="gridsPager" />
        <RowStyle CssClass="gridsTextColor" />
        <SelectedRowStyle CssClass="selectedRows" />
    </asp:GridView>
  </div>
  <div style="clear:both"></div>
</div>
</form>

</asp:Content>
